package commons.base.rpc.example;

import commons.base.rpc.RpcServer;

public class Rpc1 {

	public static void main(String[] args) {
		RpcServer rpcServer = new RpcServer();
		rpcServer.addService(Hello.class, new HelloImpl());
		rpcServer.publish(9000);
	}

}
